<template>
  <van-row>
    <div class="top"></div>
    <div>
      <van-card
        tag="已批改"
        desc="2018.11.30-19:00"
        title="前端组纳新"
        :thumb="imageURL[0]"
      >
        <div slot="footer">
          <van-button size="small" type="warning" @click="look">查看答案</van-button>
        </div>
      </van-card>
      <van-cell-group>
        <van-cell/>
      </van-cell-group>
    </div>
    <div>
      <van-card
        tag="已批改"
        desc="2018.11.30-19:00"
        title="后端组纳新"
        :thumb="imageURL[1]"
      >
        <div slot="footer">
          <van-button size="small" type="warning" disabled>查看答案</van-button>
        </div>
      </van-card>
      <van-cell-group>
        <van-cell/>
      </van-cell-group>
    </div>
    <div>
      <van-card
        tag="已批改"
        desc="2018.11.30-19:00"
        title="视觉组纳新"
        :thumb="imageURL[2]"
      >
        <div slot="footer">
          <van-button size="small" type="warning">查看答案</van-button>
        </div>
      </van-card>
      <van-cell-group>
        <van-cell/>
      </van-cell-group>
    </div>
    <div class="bottom"></div>
  </van-row>
</template>

<script>
export default {
  name: 'datas',
  data () {
    return {
      imageURL: [
        'https://img2.woyaogexing.com/2018/11/02/38d17098a63a4acdaf85a264054b5dbd!400x400.jpeg',
        'https://img2.woyaogexing.com/2018/11/02/d0fa5afdb8344a4eaf9faeb093674836!400x400.jpeg',
        'https://img2.woyaogexing.com/2018/11/02/4cf0926629a341e98fc33dd361882da9!400x400.jpeg'
      ]
    }
  },
  methods: {
    look () {
      this.$router.push('')
    }
  }
}
</script>

<style scoped>
</style>
